package com.hotel.untils.SMS;

import org.json.JSONObject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author shkstart
 * @create 2023-03-08 17:42
 */
@RestController
public class sendMessage {
    //点击发送验证码
//    @GetMapping("/sendMs")
//    public String sendMs (HttpServletRequest request, String phoneNumber){
//        if(phoneNumber!=null&&!phoneNumber.equals("")){
//            String s = SMSUtil.sendSMS(request,phoneNumber);
//            return s;
//        }else{
//            return "error";
//        }
//    }
    //点击注册


}
